$.ajax({ 
  url: 'attente.html',
  dataType: 'xml', 
  type: "GET",
  data: "var=valeur",
  success: function(data) {
	alert(data);
  }, 
  error: function(xhr, ajaxOptions, thrownError) { 
	 console.log("erreur ajax");
  }  
});